import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Vehicle {
    private String vehicleid;
    private String brand;
    private String type;
    private float perRent;
    static List<Vehicle> vehicle = new ArrayList<Vehicle>();

    public Vehicle(String vehicleid,String brand,String type,float perRent)
    {
        this.vehicleid=vehicleid;
        this.brand=brand;
        this.type=type;
        this.perRent=perRent;
    }
    public Vehicle(){}
    public float calRent(int day)
    {
        return day*perRent;
    }

    public boolean leaseOutFlow()
    {
        return true;
    }

    public String getVehicleid() {
        return vehicleid;
    }

    public void setVehicleid(String vehicleid) {
        this.vehicleid = vehicleid;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public float getPerRent() {
        return perRent;
    }

    public void setPerRent(int perRent) {
        this.perRent = perRent;
    }

}
